package cn.Liujialin.basic.query;

import lombok.Data;

@Data
public class BeanQuery {
    //当前页
    private Integer currentPage = 1;
    //每页大小
    private Integer pageSize = 10;

    private String keyword;

    public Integer getStart(){//返回起始位置
        return (this.currentPage - 1)*this.pageSize;
    }
}
